Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Refactor PHP discovery snippetgen for MVVM #714

Merged
merged 7 commits into from
Nov 7, 2016

Conversation

saicheems
Copy link
Contributor

No description provided.


@Override
public String getSampleApplicationName(String apiTypeName) {
// Unfortunate replacement that's necessary because the API type name is of a special format.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

if (typeInfo.isMessage()) {
return new TypeName(apiTypeName + "_" + typeInfo.message().typeName());
}
return getTypeNameForElementType(typeInfo);

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


// TODO: Change placeholder below to desired API key:
$client->setDeveloperKey('{MY-API-KEY}');
$client->setDeveloperKey(''); // TODO: Update placeholder with desired API key.

This comment was marked as spam.

// The text to detect
$q = [];

$q = array(); // TODO: Update placeholder value.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@codecov-io
Copy link

codecov-io commented Nov 3, 2016

Current coverage is 80.91% (diff: 90.28%)

Merging #714 into master will decrease coverage by 0.42%

@@             master       #714   diff @@
==========================================
  Files           291        296     +5   
  Lines         11074      11293   +219   
  Methods           0          0          
  Messages          0          0          
  Branches       1459       1490    +31   
==========================================
+ Hits           9008       9138   +130   
- Misses         1669       1749    +80   
- Partials        397        406     +9   

Powered by Codecov. Last update b485d88...546ecfa

Storagetransfer storagetransferService = createStoragetransferService();
Storagetransfer.GoogleServiceAccounts.Get request = storagetransferService.googleServiceAccounts().get(projectId);
Storagetransfer.V1.GetGoogleServiceAccount request = storagetransferService.v1().getGoogleServiceAccount();

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

foreach ($response['datasets'] as $dataset_list._datasets) {
// TODO: Change code below to process each `dataset_list._datasets` resource:
echo '<pre>', var_export($dataset_list._datasets, true), '</pre>', "\n";
foreach ($response['datasets'] as $datasets) {

This comment was marked as spam.

This comment was marked as spam.


$optParams = [];
do {

This comment was marked as spam.

This comment was marked as spam.


$optParams = [];
// TODO: To download media content, use:

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@saicheems saicheems merged commit f77724f into googleapis:master Nov 7, 2016
@saicheems saicheems deleted the php branch November 7, 2016 19:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants