Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default version arg, pick up latest proto changes #1065

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/data_transfer_service_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
44 changes: 0 additions & 44 deletions Bigtable/src/Admin/V2/Gapic/BigtableInstanceAdminGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/bigtable_instance_admin_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../../VERSION',
];
}

Expand Down Expand Up @@ -1241,11 +1240,6 @@ public function deleteCluster($name, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Creates an app profile within an instance.
*
* Sample code:
Expand Down Expand Up @@ -1312,11 +1306,6 @@ public function createAppProfile($parent, $appProfileId, $appProfile, $optionalA
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Gets information about an app profile.
*
* Sample code:
Expand Down Expand Up @@ -1368,11 +1357,6 @@ public function getAppProfile($name, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Lists information about app profiles in an instance.
*
* Sample code:
Expand Down Expand Up @@ -1445,11 +1429,6 @@ public function listAppProfiles($parent, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Updates an app profile within an instance.
*
* Sample code:
Expand Down Expand Up @@ -1534,11 +1513,6 @@ public function updateAppProfile($appProfile, $updateMask, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Deletes an app profile from an instance.
*
* Sample code:
Expand Down Expand Up @@ -1591,12 +1565,6 @@ public function deleteAppProfile($name, $ignoreWarnings, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable instance level
* permissions. This feature is not currently available to most Cloud Bigtable
* customers. This feature might be changed in backward-incompatible ways and
* is not recommended for production use. It is not subject to any SLA or
* deprecation policy.
*
* Gets the access control policy for an instance resource. Returns an empty
* policy if an instance exists but does not have a policy set.
*
Expand Down Expand Up @@ -1650,12 +1618,6 @@ public function getIamPolicy($resource, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable instance level
* permissions. This feature is not currently available to most Cloud Bigtable
* customers. This feature might be changed in backward-incompatible ways and
* is not recommended for production use. It is not subject to any SLA or
* deprecation policy.
*
* Sets the access control policy on an instance resource. Replaces any
* existing policy.
*
Expand Down Expand Up @@ -1715,12 +1677,6 @@ public function setIamPolicy($resource, $policy, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable instance level
* permissions. This feature is not currently available to most Cloud Bigtable
* customers. This feature might be changed in backward-incompatible ways and
* is not recommended for production use. It is not subject to any SLA or
* deprecation policy.
*
* Returns permissions that the caller has on the specified instance resource.
*
* Sample code:
Expand Down
66 changes: 30 additions & 36 deletions Bigtable/src/Admin/V2/Gapic/BigtableTableAdminGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/bigtable_table_admin_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../../VERSION',
];
}

Expand Down Expand Up @@ -513,14 +512,15 @@ public function createTable($parent, $tableId, $table, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable snapshots. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Creates a new table from the specified snapshot. The target table must
* not exist. The snapshot and the table must be in the same instance.
*
* Note: This is a private alpha release of Cloud Bigtable snapshots. This
* feature is not currently available to most Cloud Bigtable customers. This
* feature might be changed in backward-incompatible ways and is not
* recommended for production use. It is not subject to any SLA or deprecation
* policy.
*
* Sample code:
* ```
* $bigtableTableAdminClient = new BigtableTableAdminClient();
Expand Down Expand Up @@ -916,11 +916,6 @@ public function dropRowRange($name, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Generates a consistency token for a Table, which can be used in
* CheckConsistency to check whether mutations to the table that finished
* before this call started have been replicated. The tokens will be available
Expand Down Expand Up @@ -976,11 +971,6 @@ public function generateConsistencyToken($name, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Checks replication consistency based on a consistency token, that is, if
* replication has caught up based on the conditions specified in the token
* and the check request.
Expand Down Expand Up @@ -1038,14 +1028,15 @@ public function checkConsistency($name, $consistencyToken, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable snapshots. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Creates a new snapshot in the specified cluster from the specified
* source table. The cluster and the table must be in the same instance.
*
* Note: This is a private alpha release of Cloud Bigtable snapshots. This
* feature is not currently available to most Cloud Bigtable customers. This
* feature might be changed in backward-incompatible ways and is not
* recommended for production use. It is not subject to any SLA or deprecation
* policy.
*
* Sample code:
* ```
* $bigtableTableAdminClient = new BigtableTableAdminClient();
Expand Down Expand Up @@ -1143,13 +1134,14 @@ public function snapshotTable($name, $cluster, $snapshotId, $description, $optio
}

/**
* This is a private alpha release of Cloud Bigtable snapshots. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Gets metadata information about the specified snapshot.
*
* Note: This is a private alpha release of Cloud Bigtable snapshots. This
* feature is not currently available to most Cloud Bigtable customers. This
* feature might be changed in backward-incompatible ways and is not
* recommended for production use. It is not subject to any SLA or deprecation
* policy.
*
* Sample code:
* ```
* $bigtableTableAdminClient = new BigtableTableAdminClient();
Expand Down Expand Up @@ -1200,13 +1192,14 @@ public function getSnapshot($name, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable snapshots. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Lists all snapshots associated with the specified cluster.
*
* Note: This is a private alpha release of Cloud Bigtable snapshots. This
* feature is not currently available to most Cloud Bigtable customers. This
* feature might be changed in backward-incompatible ways and is not
* recommended for production use. It is not subject to any SLA or deprecation
* policy.
*
* Sample code:
* ```
* $bigtableTableAdminClient = new BigtableTableAdminClient();
Expand Down Expand Up @@ -1286,13 +1279,14 @@ public function listSnapshots($parent, $optionalArgs = [])
}

/**
* This is a private alpha release of Cloud Bigtable snapshots. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* Permanently deletes the specified snapshot.
*
* Note: This is a private alpha release of Cloud Bigtable snapshots. This
* feature is not currently available to most Cloud Bigtable customers. This
* feature might be changed in backward-incompatible ways and is not
* recommended for production use. It is not subject to any SLA or deprecation
* policy.
*
* Sample code:
* ```
* $bigtableTableAdminClient = new BigtableTableAdminClient();
Expand Down
31 changes: 0 additions & 31 deletions Bigtable/src/V2/Gapic/BigtableGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/bigtable_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down Expand Up @@ -314,11 +313,6 @@ public function __construct($options = [])
* Optional.
*
* @type string $appProfileId
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
* @type RowSet $rows
Expand Down Expand Up @@ -399,11 +393,6 @@ public function readRows($tableName, $optionalArgs = [])
* Optional.
*
* @type string $appProfileId
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
* @type int $timeoutMillis
Expand Down Expand Up @@ -467,11 +456,6 @@ public function sampleRowKeys($tableName, $optionalArgs = [])
* Optional.
*
* @type string $appProfileId
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
* @type RetrySettings|array $retrySettings
Expand Down Expand Up @@ -542,11 +526,6 @@ public function mutateRow($tableName, $rowKey, $mutations, $optionalArgs = [])
* Optional.
*
* @type string $appProfileId
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
* @type int $timeoutMillis
Expand Down Expand Up @@ -607,11 +586,6 @@ public function mutateRows($tableName, $entries, $optionalArgs = [])
* Optional.
*
* @type string $appProfileId
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
* @type RowFilter $predicateFilter
Expand Down Expand Up @@ -708,11 +682,6 @@ public function checkAndMutateRow($tableName, $rowKey, $optionalArgs = [])
* Optional.
*
* @type string $appProfileId
* This is a private alpha release of Cloud Bigtable replication. This feature
* is not currently available to most Cloud Bigtable customers. This feature
* might be changed in backward-incompatible ways and is not recommended for
* production use. It is not subject to any SLA or deprecation policy.
*
* This value specifies routing for replication. If not specified, the
* "default" application profile will be used.
* @type RetrySettings|array $retrySettings
Expand Down
1 change: 0 additions & 1 deletion Container/src/V1/Gapic/ClusterManagerGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/cluster_manager_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Dataproc/src/V1/Gapic/ClusterControllerGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/cluster_controller_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Dataproc/src/V1/Gapic/JobControllerGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/job_controller_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Debugger/src/V2/Gapic/Controller2GapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/controller2_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Debugger/src/V2/Gapic/Debugger2GapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/debugger2_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Dialogflow/src/V2/Gapic/AgentsGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/agents_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Dialogflow/src/V2/Gapic/ContextsGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/contexts_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
1 change: 0 additions & 1 deletion Dialogflow/src/V2/Gapic/EntityTypesGapicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ private static function getClientDefaults()
'restClientConfigPath' => __DIR__.'/../resources/entity_types_rest_client_config.php',
],
],
'versionFile' => __DIR__.'/../../../VERSION',
];
}

Expand Down
Loading