Skip to content

Commit 1d7ab4d

Browse files
authored
Merge pull request #8 from henribru:v2.8.0-support
Add v2.8.0 support
2 parents 0e459b2 + 64a7ee6 commit 1d7ab4d

File tree

37 files changed

+1601
-11
lines changed

37 files changed

+1601
-11
lines changed

googleapiclient-stubs/_apis/apigee/v1/resources.pyi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ class ApigeeResource(googleapiclient.discovery.Resource):
604604
name: str,
605605
override: bool = ...,
606606
sequencedRollout: bool = ...,
607-
serviceAccount: str = ...,
608607
**kwargs: typing.Any
609608
) -> GoogleCloudApigeeV1DeploymentHttpRequest: ...
610609
def getDeployments(
@@ -823,12 +822,7 @@ class ApigeeResource(googleapiclient.discovery.Resource):
823822
@typing.type_check_only
824823
class RevisionsResource(googleapiclient.discovery.Resource):
825824
def deploy(
826-
self,
827-
*,
828-
name: str,
829-
override: bool = ...,
830-
serviceAccount: str = ...,
831-
**kwargs: typing.Any
825+
self, *, name: str, override: bool = ..., **kwargs: typing.Any
832826
) -> GoogleCloudApigeeV1DeploymentHttpRequest: ...
833827
def getDeployments(
834828
self, *, name: str, **kwargs: typing.Any

googleapiclient-stubs/_apis/apigee/v1/schemas.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ class GoogleCloudApigeeV1Deployment(typing_extensions.TypedDict, total=False):
364364
routeConflicts: typing.List[
365365
GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict
366366
]
367-
serviceAccount: str
368367
state: typing_extensions.Literal[
369368
"RUNTIME_STATE_UNSPECIFIED", "READY", "PROGRESSING", "ERROR"
370369
]

googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ class ExternalDataConfiguration(typing_extensions.TypedDict, total=False):
337337
compression: str
338338
connectionId: str
339339
csvOptions: CsvOptions
340+
decimalTargetTypes: typing.List[str]
340341
googleSheetsOptions: GoogleSheetsOptions
341342
hivePartitioningOptions: HivePartitioningOptions
342343
ignoreUnknownValues: bool
@@ -600,6 +601,7 @@ class QueryRequest(typing_extensions.TypedDict, total=False):
600601
@typing.type_check_only
601602
class QueryResponse(typing_extensions.TypedDict, total=False):
602603
cacheHit: bool
604+
dmlStats: typing.Any
603605
errors: typing.List[ErrorProto]
604606
jobComplete: bool
605607
jobReference: JobReference

googleapiclient-stubs/_apis/compute/alpha/resources.pyi

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,14 @@ class ComputeResource(googleapiclient.discovery.Resource):
333333
body: ResourceGroupReference = ...,
334334
**kwargs: typing.Any
335335
) -> BackendServiceGroupHealthHttpRequest: ...
336+
def getIamPolicy(
337+
self,
338+
*,
339+
project: str,
340+
resource: str,
341+
optionsRequestedPolicyVersion: int = ...,
342+
**kwargs: typing.Any
343+
) -> PolicyHttpRequest: ...
336344
def insert(
337345
self,
338346
*,
@@ -370,6 +378,14 @@ class ComputeResource(googleapiclient.discovery.Resource):
370378
requestId: str = ...,
371379
**kwargs: typing.Any
372380
) -> OperationHttpRequest: ...
381+
def setIamPolicy(
382+
self,
383+
*,
384+
project: str,
385+
resource: str,
386+
body: GlobalSetPolicyRequest = ...,
387+
**kwargs: typing.Any
388+
) -> PolicyHttpRequest: ...
373389
def setSecurityPolicy(
374390
self,
375391
*,
@@ -2121,6 +2137,15 @@ class ComputeResource(googleapiclient.discovery.Resource):
21212137
returnPartialSuccess: bool = ...,
21222138
**kwargs: typing.Any
21232139
) -> InstanceListReferrersHttpRequest: ...
2140+
def performMaintenance(
2141+
self,
2142+
*,
2143+
project: str,
2144+
zone: str,
2145+
instance: str,
2146+
requestId: str = ...,
2147+
**kwargs: typing.Any
2148+
) -> OperationHttpRequest: ...
21242149
def removeResourcePolicies(
21252150
self,
21262151
*,
@@ -2950,6 +2975,8 @@ class ComputeResource(googleapiclient.discovery.Resource):
29502975
project: str,
29512976
firewallPolicy: str,
29522977
body: FirewallPolicyRule = ...,
2978+
maxPriority: int = ...,
2979+
minPriority: int = ...,
29532980
requestId: str = ...,
29542981
**kwargs: typing.Any
29552982
) -> OperationHttpRequest: ...
@@ -3899,6 +3926,15 @@ class ComputeResource(googleapiclient.discovery.Resource):
38993926
body: ResourceGroupReference = ...,
39003927
**kwargs: typing.Any
39013928
) -> BackendServiceGroupHealthHttpRequest: ...
3929+
def getIamPolicy(
3930+
self,
3931+
*,
3932+
project: str,
3933+
region: str,
3934+
resource: str,
3935+
optionsRequestedPolicyVersion: int = ...,
3936+
**kwargs: typing.Any
3937+
) -> PolicyHttpRequest: ...
39023938
def insert(
39033939
self,
39043940
*,
@@ -3930,6 +3966,15 @@ class ComputeResource(googleapiclient.discovery.Resource):
39303966
requestId: str = ...,
39313967
**kwargs: typing.Any
39323968
) -> OperationHttpRequest: ...
3969+
def setIamPolicy(
3970+
self,
3971+
*,
3972+
project: str,
3973+
region: str,
3974+
resource: str,
3975+
body: RegionSetPolicyRequest = ...,
3976+
**kwargs: typing.Any
3977+
) -> PolicyHttpRequest: ...
39333978
def testIamPermissions(
39343979
self,
39353980
*,
@@ -4697,6 +4742,14 @@ class ComputeResource(googleapiclient.discovery.Resource):
46974742
requestId: str = ...,
46984743
**kwargs: typing.Any
46994744
) -> OperationHttpRequest: ...
4745+
def recommendLocations(
4746+
self,
4747+
*,
4748+
project: str,
4749+
region: str,
4750+
body: RegionInstancesRecommendLocationsResource = ...,
4751+
**kwargs: typing.Any
4752+
) -> RegionInstancesRecommendLocationsResponseHttpRequest: ...
47004753
@typing.type_check_only
47014754
class RegionInstantSnapshotsResource(googleapiclient.discovery.Resource):
47024755
def delete(
@@ -4844,6 +4897,8 @@ class ComputeResource(googleapiclient.discovery.Resource):
48444897
region: str,
48454898
firewallPolicy: str,
48464899
body: FirewallPolicyRule = ...,
4900+
maxPriority: int = ...,
4901+
minPriority: int = ...,
48474902
requestId: str = ...,
48484903
**kwargs: typing.Any
48494904
) -> OperationHttpRequest: ...
@@ -8744,6 +8799,18 @@ class RegionInstanceGroupsListInstancesHttpRequest(googleapiclient.http.HttpRequ
87448799
num_retries: int = ...,
87458800
) -> RegionInstanceGroupsListInstances: ...
87468801

8802+
@typing.type_check_only
8803+
class RegionInstancesRecommendLocationsResponseHttpRequest(
8804+
googleapiclient.http.HttpRequest
8805+
):
8806+
def execute(
8807+
self,
8808+
http: typing.Optional[
8809+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
8810+
] = ...,
8811+
num_retries: int = ...,
8812+
) -> RegionInstancesRecommendLocationsResponse: ...
8813+
87478814
@typing.type_check_only
87488815
class RegionListHttpRequest(googleapiclient.http.HttpRequest):
87498816
def execute(

googleapiclient-stubs/_apis/compute/alpha/schemas.pyi

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,6 @@ class Commitment(typing_extensions.TypedDict, total=False):
788788
"GENERAL_PURPOSE_N2",
789789
"GENERAL_PURPOSE_N2D",
790790
"MEMORY_OPTIMIZED",
791-
"MEMORY_OPTIMIZED_REGIONAL_EXTENSION",
792791
"TYPE_UNSPECIFIED",
793792
]
794793

@@ -2911,6 +2910,9 @@ class LocalDisk(typing_extensions.TypedDict, total=False):
29112910
@typing.type_check_only
29122911
class LocationPolicy(typing_extensions.TypedDict, total=False):
29132912
locations: typing.Dict[str, typing.Any]
2913+
targetShape: typing_extensions.Literal[
2914+
"ANY", "ANY_SINGLE_ZONE", "BALANCED", "TARGET_SHAPE_UNSPECIFIED"
2915+
]
29142916

29152917
@typing.type_check_only
29162918
class LocationPolicyLocation(typing_extensions.TypedDict, total=False):
@@ -4020,7 +4022,9 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False):
40204022
region: str
40214023
selfLink: str
40224024
selfLinkWithId: str
4023-
status: typing_extensions.Literal["ANNOUNCED", "DELETING", "INITIALIZING"]
4025+
status: typing_extensions.Literal[
4026+
"ANNOUNCED", "DELETING", "INITIALIZING", "READY_TO_ANNOUNCE"
4027+
]
40244028

40254029
@typing.type_check_only
40264030
class PublicDelegatedPrefixAggregatedList(typing_extensions.TypedDict, total=False):
@@ -4433,6 +4437,31 @@ class RegionInstanceGroupsSetNamedPortsRequest(
44334437
fingerprint: str
44344438
namedPorts: typing.List[NamedPort]
44354439

4440+
@typing.type_check_only
4441+
class RegionInstancesRecommendLocationsResource(
4442+
typing_extensions.TypedDict, total=False
4443+
):
4444+
instanceSpecs: typing.Dict[str, typing.Any]
4445+
locationPolicy: LocationPolicy
4446+
4447+
@typing.type_check_only
4448+
class RegionInstancesRecommendLocationsResponse(
4449+
typing_extensions.TypedDict, total=False
4450+
):
4451+
recommendedLocations: typing.Dict[str, typing.Any]
4452+
4453+
@typing.type_check_only
4454+
class RegionInstancesRecommendLocationsResponseRecommendation(
4455+
typing_extensions.TypedDict, total=False
4456+
):
4457+
instanceCount: int
4458+
4459+
@typing.type_check_only
4460+
class RegionInstancesRecommendLocationsResponseRecommendationsForInstanceSpecs(
4461+
typing_extensions.TypedDict, total=False
4462+
):
4463+
locations: typing.Dict[str, typing.Any]
4464+
44364465
@typing.type_check_only
44374466
class RegionInstantSnapshotsExportRequest(typing_extensions.TypedDict, total=False):
44384467
exportParams: InstantSnapshotExportParams
@@ -4715,11 +4744,16 @@ class ResourcePolicyWeeklyCycleDayOfWeek(typing_extensions.TypedDict, total=Fals
47154744
@typing.type_check_only
47164745
class ResourceStatus(typing_extensions.TypedDict, total=False):
47174746
scheduling: ResourceStatusScheduling
4747+
upcomingMaintenance: ResourceStatusUpcomingMaintenance
47184748

47194749
@typing.type_check_only
47204750
class ResourceStatusScheduling(typing_extensions.TypedDict, total=False):
47214751
availabilityDomain: int
47224752

4753+
@typing.type_check_only
4754+
class ResourceStatusUpcomingMaintenance(typing_extensions.TypedDict, total=False):
4755+
canReschedule: bool
4756+
47234757
@typing.type_check_only
47244758
class RolloutPolicy(typing_extensions.TypedDict, total=False):
47254759
defaultRolloutTime: str
@@ -5599,6 +5633,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False):
55995633
"PRIVATE",
56005634
"PRIVATE_RFC_1918",
56015635
"PRIVATE_SERVICE_CONNECT",
5636+
"REGIONAL_MANAGED_PROXY",
56025637
]
56035638
region: str
56045639
reservedInternalRange: str

googleapiclient-stubs/_apis/compute/beta/resources.pyi

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,14 @@ class ComputeResource(googleapiclient.discovery.Resource):
333333
body: ResourceGroupReference = ...,
334334
**kwargs: typing.Any
335335
) -> BackendServiceGroupHealthHttpRequest: ...
336+
def getIamPolicy(
337+
self,
338+
*,
339+
project: str,
340+
resource: str,
341+
optionsRequestedPolicyVersion: int = ...,
342+
**kwargs: typing.Any
343+
) -> PolicyHttpRequest: ...
336344
def insert(
337345
self,
338346
*,
@@ -370,6 +378,14 @@ class ComputeResource(googleapiclient.discovery.Resource):
370378
requestId: str = ...,
371379
**kwargs: typing.Any
372380
) -> OperationHttpRequest: ...
381+
def setIamPolicy(
382+
self,
383+
*,
384+
project: str,
385+
resource: str,
386+
body: GlobalSetPolicyRequest = ...,
387+
**kwargs: typing.Any
388+
) -> PolicyHttpRequest: ...
373389
def setSecurityPolicy(
374390
self,
375391
*,
@@ -3480,6 +3496,15 @@ class ComputeResource(googleapiclient.discovery.Resource):
34803496
body: ResourceGroupReference = ...,
34813497
**kwargs: typing.Any
34823498
) -> BackendServiceGroupHealthHttpRequest: ...
3499+
def getIamPolicy(
3500+
self,
3501+
*,
3502+
project: str,
3503+
region: str,
3504+
resource: str,
3505+
optionsRequestedPolicyVersion: int = ...,
3506+
**kwargs: typing.Any
3507+
) -> PolicyHttpRequest: ...
34833508
def insert(
34843509
self,
34853510
*,
@@ -3511,6 +3536,15 @@ class ComputeResource(googleapiclient.discovery.Resource):
35113536
requestId: str = ...,
35123537
**kwargs: typing.Any
35133538
) -> OperationHttpRequest: ...
3539+
def setIamPolicy(
3540+
self,
3541+
*,
3542+
project: str,
3543+
region: str,
3544+
resource: str,
3545+
body: RegionSetPolicyRequest = ...,
3546+
**kwargs: typing.Any
3547+
) -> PolicyHttpRequest: ...
35143548
def testIamPermissions(
35153549
self,
35163550
*,

googleapiclient-stubs/_apis/compute/beta/schemas.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4744,6 +4744,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False):
47444744
"PRIVATE",
47454745
"PRIVATE_RFC_1918",
47464746
"PRIVATE_SERVICE_CONNECT",
4747+
"REGIONAL_MANAGED_PROXY",
47474748
]
47484749
region: str
47494750
role: typing_extensions.Literal["ACTIVE", "BACKUP"]

googleapiclient-stubs/_apis/container/v1/schemas.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False)
3737
bootDiskKmsKey: str
3838
diskSizeGb: int
3939
diskType: str
40+
imageType: str
4041
management: NodeManagement
4142
minCpuPlatform: str
4243
oauthScopes: typing.List[str]

googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class AutoprovisioningNodePoolDefaults(typing_extensions.TypedDict, total=False)
4040
bootDiskKmsKey: str
4141
diskSizeGb: int
4242
diskType: str
43+
imageType: str
4344
management: NodeManagement
4445
minCpuPlatform: str
4546
oauthScopes: typing.List[str]

0 commit comments

Comments
 (0)